package org.ykh.srb.feign.core;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.ykh.service.result.Result;
import org.ykh.srb.feign.core.pojo.entity.DictEntity;


/**
 * @author ykh
 */
@FeignClient("service-core")
public interface DictApi {

    @GetMapping("/{id}")
    Result<DictEntity> getDict(@PathVariable("id") Integer id);
}
